package com.simoniu.mp.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.simoniu.mp.entity.Students;
import com.simoniu.mp.mapper.StudentsMapper;
import com.simoniu.mp.service.StudentsService;
import com.simoniu.mp.view.StudentsView;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;


@Service
public class StudentsServiceImpl extends ServiceImpl<StudentsMapper, Students> implements StudentsService {

    @Resource
    private StudentsMapper studentsMapper;

    @Override
    public List<StudentsView> queryStudentsView() {
        return studentsMapper.queryStudentsView();
    }
}
